﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zocono.WCS.Domain.EntityInfo
{
    //public class UserInfo
    //{
    //    [SugarColumn(IsPrimaryKey = true)]
    //    /// <summary>
    //    /// 主键ID
    //    /// </summary>
    //    public long UserID { get; set; }

    //    /// <summary>
    //    /// 用户名
    //    /// </summary>
    //    public string UserName { get; set; }

    //    /// <summary>
    //    /// 密码
    //    /// </summary>
    //    public string Password { get; set; }

    //    /// <summary>
    //    /// 工号
    //    /// </summary>
    //    public string JobNumber { get; set; }

    //    /// <summary>
    //    /// 是否删除  0 未删除 1 已删除
    //    /// </summary>
    //    public bool IsDelete { get; set; }

    //    /// <summary>
    //    /// 更新时间
    //    /// </summary>
    //    public DateTime UpdateTime { get; set; }
    //}

    public class UserInfo
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public long UserID { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>

        public string Password
        {
            get; set;
        }

        /// <summary>
        /// 姓名
        /// </summary>
        public string FullName { get; set; }

        /// <summary>
        /// 部门
        /// </summary>
        public string Department { get; set; }

        /// <summary>
        /// 工号
        /// </summary>
        public string JobNumber { get; set; }

        /// <summary>
        /// 角色ID
        /// </summary>
        public long RoleID { get; set; }

        /// <summary>
        /// 是否删除  0 未删除 1 已删除
        /// </summary>
        public bool IsDelete { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
        public string IcCode { get; set; }
    }
}
